<!DOCTYPE html>
<html lang="en">
<!--后台模板在线网址 http://www.sucaihuo.com/modals/5/518/demo/ui_features.html-->
<head>
    <meta charset="utf-8">
    <title>约健体育联盟</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="约健体育联盟">
    <include file="Public/head" />
</head>
<body>
<div id="wrap">
    <include file="Public/top" />
    <div class="container-fluid">
        <include file="Public/sidemenus"/>

        <!-- Main window -->
        <div class="main_container" id="users_page">

            <div class="row-fluid">

                <h2 class="heading">
                    权威大师管理
                </h2>
            </div> <!-- /row-fluid -->


            <!--此处往下为代码改写部分-->
           <div class="container">
        <div class="col-md-9">
         <form role="form" action="{:U('teacher/upload')}" method="POST" enctype="multipart/form-data">
                            <!--PHP-->
            <table id="teacher" border="1" align="center">
            <h1>添加大师</h1>
            <input type="hidden" name="teachid" value="{$teacher.teachid}">
            <ul>
            <li>姓名：<input type="text"  name="teachname" value="{$teacher.teachname}"></li>
            </ul>
            <ul>
            <li>图片：<img src="__PUBLIC__/Uploads/photo/{$teacher.teachpic}" width="100" ><input type="file" name="photo" ></li>
            </ul>
            <ul>
            <li>介绍：<input type="text"  name="teachintro" value="{$teacher.teachintro}"></li>
            </ul>
            <ul><li><button type="submit" class="btn btn-primary">提交</button>
                                <button type="reset" class="btn btn-default">重置</button></li></ul>
            </table>
            </form>
      
        </div>

</div>

        </div>
        <!-- /Main window -->

    </div><!--/.fluid-container-->
</div><!-- wrap ends-->
</body>
</html>

